<%@ page language="java" contentType="text/html; charset=utf-8" import="net.fckeditor.*"
    pageEncoding="utf-8"%>
    <%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<script src="../../js/check.js"></script>
<link rel="stylesheet" type="text/css" href="/hykj/css/header.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript">
	function FCKeditor_OnComplete(editorInstance) {
		window.status = editorInstance.Description;
	}
</script>
</head>
<%
	FCKeditor fckEditor = new FCKeditor(request, "article");
	fckEditor.setWidth("800");
	fckEditor.setHeight("400");
%>
<body>
<center>
<jsp:include page = "/admin/head.jsp" />
<table width="944">
	<tr>
		<td height="120" width="744" valign="top">


		<form action="insertNew" method="post" name="form" onsubmit="return checkForm(this)">
		<table width="525" border="0">
			<tr>
				<td width="75" height="20"><b>标题：</b></td>
				<td width="434"><input title="标题" name="title" type="text"
					maxlength="20"></td>
			</tr>
			<tr>
				<td width="75" height="20"><b>作者：</b></td>
				<td width="434"><input title="作者" name="author" type="text"
					maxlength="20"></td>
			</tr>
			<tr>
				<td width="75" height="20"><b>来源：</b></td>
				<td width="434"><input title="来源" name="original" type="text"
					maxlength="20"></td>
			</tr>
			<tr>
				<td width="75" height="20"><b>类别</b></td>
				<td width="434">
					<select title="类别" name="category">
					<option value="0">企业新闻</option>
					<option value="1">产品新闻</option>
					<option value="2">业界资讯</option>
					</select>
				</td>
			</tr>
			<tr>
		<td width = "300" colspan = "2" align = "left">
			<b>文章内容:</b>
		 <br />
		<%
			fckEditor.setValue("");
			out.println(fckEditor);
		%> <br />
		</td>
	</tr>
		<tr>
				<td height="20">&nbsp;</td>
				<td><input type="submit" name="Submit" value="上传">
				&nbsp;&nbsp; <input type="reset" name="Submit2" value="重置">
				</td>
			</tr>
		</table>
		</form>
		</td>
		<td width="200"></td>
	</tr>
</table>
<jsp:include page = "/admin/foot.jsp" />
</center>
</body>
</html>